import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 引入公共样式
import "./assets/css/base.css";

// 引入字体图标
import "./assets/iconfont/iconfont.css";

// 引入第三方库
import VueClipBoard from 'vue-clipboard2'

import { Swipe, Empty, Divider, Button, Dialog, SwipeItem, ShareSheet, Notify, Popup, Tag, Uploader, Loading, Overlay, Tab, Tabs, DropdownMenu, DropdownItem, Toast, Sidebar, Image as VanImage, SidebarItem } from 'vant';
Vue.use(Swipe)
  .use(SidebarItem)
  .use(Uploader)
  .use(ShareSheet)
  .use(Notify)
  .use(Divider)
  .use(Button)
  .use(Dialog)
  .use(VueClipBoard)
  .use(Tab)
  .use(Tag)
  .use(Tabs)
  .use(Popup)
  .use(Empty)
  .use(Toast)
  .use(Overlay)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(Sidebar)
  .use(Loading)
  .use(VanImage)
  .use(SwipeItem);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
